package lyroot.entity;

import java.util.List;

/**
 * @BelongsProject : java-leetcode
 * @BelongsPackage : lyroot.entity
 * @Author :  cheungming
 * @CreateTime : 2024-05-20 10:52:49
 * @Description : 多叉树节点
 * @Version : 1.0
 */
public class Node {

    public int val;
    public List<Node> children;

    public Node() {
    }

    public Node(int _val) {
        val = _val;
    }

    public Node(int _val, List<Node> _children) {
        val = _val;
        children = _children;
    }
}
